//排行榜
"use strict"
const mvc = require("cosjs.mvc")
const dbase = mvc.model.require("dbase");

//等级排行榜
exports.lvSort = function (sid) {
    let sort = new dbase.sort(sid, "lvSort");
    sort.stamp();
    sort.limit(5000);
    return sort;
}

//战力排行榜
exports.fightSort = function (sid) {
    let sort = new dbase.sort(sid, "fightSort");
    sort.stamp();
    sort.limit(5000);
    return sort;
}


//主线排行榜
exports.stageSort = function (sid) {
    let sort = new dbase.sort(sid, "stageSort");
    sort.stamp();
    sort.limit(5000);
    return sort;
}

//主线排行榜
exports.PvP_3V3_Sort = function (sid) {
    let sort = new dbase.sort(sid, "PvP_3V3_Sort");
    sort.stamp();
    sort.limit(5000);
    return sort;
}

//好友boss排行榜
exports.fWboss_Sort = function (sid, bossID) {
    let sort = new dbase.sort(sid, "fWboss_Sort:" + bossID);
    sort.stamp();
    sort.limit(15);
    return sort;
}